inline getprogname replacement
authorMichael Tokarev <mjt@tls.msk.ru>
Tue, 20 Jan 2026 19:27:54 +0000 (22:27 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 17 Apr 2026 08:02:47 +0000 (11:02 +0300)
commit891e780a6203b44cab9e5a0468b8c850bc011f6e
tree9a2fcaeeb5b05fe6c7a11932f9443aa2bba6bf73
parent62e739241d9d7f3318547e201b45b8f9c0410df5
inline getprogname replacement

Forwarded: not-needed

Inline getprogname() by using program_invocation_short_name
when available (like with glibc).

This makes a lot of binaries to avoid linkage to libreplace.

This is a short and dirty version, proper change for upstream
should clean up #ifdef'fery in replace.c.

Gbp-Pq: Name inline-getprogname.diff
lib/replace/replace.c
lib/replace/replace.h